﻿using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Text;

namespace DH.Core.Logger
{
   public class LoggerRunner
    {
        public readonly ILogger<LoggerRunner> _logger;

        public LoggerRunner(ILogger<LoggerRunner> logger)
        {
            _logger = logger;
        }

        public void DoAction(string name)
        {
            _logger.LogDebug(20, "Doing hard work! {Action}", name);
        }
        
        
    }
}
